home *** CD-ROM | disk | FTP | other *** search
/ Computer Life 1997 February / Computer Life February 1997.iso / S / easyt / Product / DATA / CRT / APPMSG.H next >
Encoding:
C/C++ Source or Header  |  1996-09-19  |  12.0 KB  |  256 lines

  1. /****************************************************************************\
  2. *                                                                            *
  3. *      Program Name:           EasyTutor Learn Office 95                     *
  4. *                                                                            *
  5. *      Copyright:              (c) CRT Multimedia 1996                       *
  6. *                                                                            *
  7. *      Module Name:            APPMSG.H                                      *
  8. *                                                                            *
  9. *      Module Description:     Contains User definined message definitions,  *
  10. *                              application defined display object message    *
  11. *                              and Root display object message definitions.  *
  12. *                                                                            *
  13. *                              Ranges for the display objects defined in the *
  14. *                              application should start > 1000 so as not to  *
  15. *                              conflict with any of the predefined display   *
  16. *                              object messages in the Framework library.     *
  17. *                                                                            *
  18. *      Creation Date:          30/11/95                                      *
  19. *                                                                            *
  20. *      Developers Names:        Duncan Lowe                                  *
  21. *                                Russell Hempel                                 *
  22. *                                Richard Jermyn                                 *
  23. *                                                                            *
  24. \****************************************************************************/
  25.  
  26.  
  27. /////////////////////////////////////////////////////////////////////////////
  28. // USER DEFINED MESSAGES - range WM_USER + 0 - WM_USER + n                                                  
  29. // Changed from WM_USER + 0 as this was clashing with the message
  30. // CM_BTNCLICK which was causing the animating to start.
  31. #define UDM_MODULE_MENU_ANIMATE_BUTTON  2500
  32.  
  33.  
  34.  
  35. /////////////////////////////////////////////////////////////////////////////
  36. // DISPLAY OBJECT MESSAGES
  37.  
  38.  
  39. /////////////////////////////////////////////////////////////////////////////
  40. // Root Display Object - range:                     1000 - 1099                      
  41.  
  42.  
  43. // destroys the current screen and creates a new one
  44. #define DO_SCREEN_DESTROY_AND_GOTO                  1000
  45.  
  46. // hides the current screen and creates a new one
  47. #define DO_SCREEN_HIDE_AND_GOTO                     1001
  48.  
  49. // destroys all but the current screen
  50. #define DO_SCREEN_DESTROY_NOT_CURRENT               1002
  51.  
  52. // informs the root object that we're entering the concept half of the app
  53. #define DO_SCREEN_ENTERING_CONCEPT                  1003
  54.            
  55. // informs the root object that we're entering the how-to half of the app
  56. #define DO_SCREEN_ENTERING_HOWTO                    1004
  57.  
  58. // destroys the current screen and goes to either the first concept page
  59. // or the how-to screen for the given topic, depending on which half of
  60. // the program we're in (goes to concept if we're not in either).
  61. #define DO_SCREEN_GOTO_MODULE                       1005
  62.  
  63. // informs the root display object which detail is selected
  64. #define DO_SCREEN_CURRENT_TOPIC                     1006
  65.  
  66. // informs the root display object which detail is selected
  67. #define DO_SCREEN_CURRENT_DETAIL                    1007
  68.  
  69. // skips from the how-to section to the appropriate part of the concept section
  70. #define DO_SCREEN_SKIP_TO_CONCEPT                   1008
  71.  
  72. // skips from the concept section to the appropriate part of the how-to section
  73. #define DO_SCREEN_SKIP_TO_HOWTO                     1009
  74.  
  75. // goes to a concept page within the curent topic
  76. #define DO_SCREEN_GOTO_CONCEPT_PAGE                 1010
  77.  
  78. // pages to the next concept page within the curent topic
  79. #define DO_SCREEN_NEXT_CONCEPT_PAGE                 1011
  80.  
  81. // pages to the previous concept page within the curent topic
  82. #define DO_SCREEN_PREVIOUS_CONCEPT_PAGE             1012
  83.  
  84. // informs the root display object that the current detail has been viewed
  85. #define DO_SCREEN_DETAIL_VIEWED                     1013
  86.  
  87. // sends a message to the current screen
  88. #define DO_SCREEN_SEND_TO_CURRENT                   1014
  89.  
  90. // opens a popup screen over the current screen
  91. #define DO_SCREEN_OPEN_POPUP                        1015
  92.  
  93. // closes any popup screen over the current screen
  94. #define DO_SCREEN_CLOSE_POPUP                       1016
  95.  
  96. //  for the what next button - find an untried detail
  97. //  which is in the profile and then SKIP to it
  98. #define DO_SCREEN_WHAT_NEXT                         1017
  99.  
  100. // causes the glossary help screen to be loaded or brought to the front.
  101. #define DO_SCREEN_LOAD_GLOSSARY                     1018             
  102.  
  103. // sent when a preloaded popup needs to be displayed
  104. #define DO_SCREEN_SHOW_POPUP                         1019
  105.  
  106. // sent when a preloaded popup needs to be hidden
  107. #define DO_SCREEN_HIDE_POPUP                        1020
  108.  
  109. // causes a preloaded popup to show itself
  110. #define DO_SHOWING_POPUP                            1021
  111.  
  112. // causes a preloaded popup to hide itself
  113. #define DO_HIDING_POPUP                             1022
  114.  
  115. // POT FRAMEWORK MESSAGES
  116. #define DO_SCREEN_START_SCREEN_SEQUENCE             1023
  117. #define DO_SCREEN_STOP_SCREEN_SEQUENCE              1024
  118. #define DO_SCREEN_PAUSE_SCREEN_SEQUENCE             1025
  119. #define DO_SCREEN_RESUME_SCREEN_SEQUENCE            1026
  120. #define DO_SCREEN_PAUSE_SCREEN_CLOCK                1027
  121. #define DO_SCREEN_RESUME_SCREEN_CLOCK               1028
  122. #define DO_SCREEN_GOTO_SEQUENCE                     1029
  123. #define DO_SCREEN_CALL_SEQUENCE                     1030
  124. #define DO_SCREEN_PAUSE_SEQUENCE                    1031
  125. #define DO_SCREEN_RESUME_SEQUENCE                   1032
  126. #define DO_SCREEN_STOP_SEQUENCE                     1033
  127. #define DO_SCREEN_RETURN_FROM_SEQUENCE              1034
  128. #define DO_SCREEN_GOTO_TICK                         1035
  129. #define DO_SCREEN_CALL_TICK                         1036
  130.  
  131.  
  132. /////////////////////////////////////////////////////////////////////////////
  133. // opening screen messages - range:                 1100 - 1199                                                
  134.  
  135. #define DOW_OPENING_LBUTTONDOWN                     1100
  136.  
  137. /////////////////////////////////////////////////////////////////////////////
  138. // main menu messages - range:                      1200 - 1299                                                
  139.  
  140. #define    DO_MAIN_MENU_EXIT                            1200
  141. #define DO_MAIN_MENU_BLURRY_GRAPHIC                    1201
  142. #define DO_WHAT_NEXT_BLURRY_GRAPHIC                    1202
  143. #define DO_TEST_YOURSELF_BLURRY_GRAPHIC                1203
  144. #define DO_MAIN_EXIT_BLURRY_GRAPHIC                    1204
  145.  
  146. /////////////////////////////////////////////////////////////////////////////
  147. // profile popup messages - range:                  1300 - 1399                                                
  148.  
  149. #define DO_PROFILE_RESET                            1300
  150. #define DO_PROFILE_CHANGE                           1301
  151.  
  152. /////////////////////////////////////////////////////////////////////////////
  153. // question messages - range:                       1400 - 1499                                                
  154.  
  155. #define DO_QUESTION_CHOOSE                          1400
  156. #define DO_QUESTION_ANSWER_CHOSEN                   1401 
  157. #define DOW_QUESTION_TIME_UP                        1402
  158.  
  159.  
  160. /////////////////////////////////////////////////////////////////////////////
  161. // module menu messages - range:                    1500 - 1502                                                
  162.  
  163. #define DO_MODULE_MENU_SECTION_SELECTED             1500
  164. #define DO_MODULE_MENU_BLURRY_GRAPHIC                1501
  165. #define DO_MODULE_MENU_MODULE_SELECTED              1502
  166. #define DO_MODULE_MENU_ROLLOVER                        1503
  167.  
  168.  
  169. /////////////////////////////////////////////////////////////////////////////
  170. // video window that passes mouse clicks back to parent
  171. // messages - range:                                1600 - 1699                                                
  172.  
  173. #define DOW_LMOUSEBUTTONDOWN                        1600
  174. #define DO_MOUSECLICKEDOVERVIDEO                    1601           // passed back to parent
  175.  
  176. /////////////////////////////////////////////////////////////////////////////
  177. // video control messages - range:                  1700 - 1799                                                
  178.  
  179. #define DO_VIDEO_CONTROLS_RESET                     1700
  180. #define DO_VIDEO_CONTROLS_PLAY                      1701 
  181.  
  182.  
  183. /////////////////////////////////////////////////////////////////////////////
  184. // how to screen messages - range:                  1800 - 1899                                                
  185.  
  186. #define DO_NEW_DETAIL                               1800
  187. #define DO_RUN_DEMO                                 1801
  188. #define DO_RUN_TRYIT                                1802
  189. #define    DO_TUTORIAL_POINT                              1803
  190. #define    DO_TUTORIAL_SELECT                            1804
  191. #define    DO_TUTORIAL_UNPOINT                            1805
  192. #define    DO_TUTORIAL_REDRAW                            1806
  193. #define DO_PRINT_DETAIL                             1807
  194.  
  195. /////////////////////////////////////////////////////////////////////////////
  196. // demo/try it messages - range:                    1900 - 1999                                                
  197.  
  198. //  sequencing of events
  199. #define DOW_EVENT_DONE                              1900
  200. #define DOW_MOUSE_TIMER_CLICK                       1901
  201. #define DOW_PAUSE_TIMER_CLICK                       1902
  202. #define WM_EVENT_DONE                               1903
  203. #define DO_EVENT_DONE                               1904
  204. #define DO_HOTSPOT_RBUTTON_DOWN                     1905
  205. #define DO_HOTSPOT_RBUTTON_UP                       1906
  206. #define DO_HOTSPOT_LBUTTON_DBLCLK                   1907
  207. #define DO_DEMO_MOUSE_MOVE                          1908
  208. #define DO_DEMO_CHAR                                1909 
  209. #define DO_DEMO_PAINT                               1910
  210. #define DOW_ARROW_TIMER_CLICK                       1911
  211. #define DO_DEMO_COMPLETE                            1912
  212. #define DOW_DOUBLE_TIMER_CLICK                      1913   
  213. #define DOW_LCLICK_TIMER_CLICK                      1914 
  214. #define DOW_RCLICK_TIMER_CLICK                      1915 
  215. #define DOW_CHAR_TIMER_CLICK                        1916  
  216. #define DOW_KEY_TIMER_CLICK                         1917 
  217. #define DO_RTF_MESSAGE                                1918 
  218.  
  219.  
  220. /////////////////////////////////////////////////////////////////////////////
  221. // Search HowTo Topic messages - range:             2000 - 2099
  222.  
  223. #define DO_SEARCH_GOTO                                2000
  224. #define IDD_EDIT_CONTROL                            2001
  225. #define IDD_LIST_CONTROL                            2002
  226.  
  227.  
  228. /////////////////////////////////////////////////////////////////////////////
  229. // timed audio prompt messages - range:             2100 - 2199
  230.  
  231. #define DO_TIMEDAUDIOPROMPT_START                   2100
  232. #define DO_TIMEDAUDIOPROMPT_STOP                       2101
  233. #define DO_TIMEDAUDIOPROMPT_TIME_UP                    2102
  234. #define DO_SCREEN_EVENT_OCCURED                        2103
  235.  
  236. /////////////////////////////////////////////////////////////////////////////
  237. //   CRTV machine messages - range:                        2200 - 1299                                                
  238.  
  239. #define DO_CRTV_MACH_PLAY_CHANNEL                  2200
  240. #define DO_CRTV_MACH_CHANNEL_PLUS                  2201      
  241. #define DO_CRTV_MACH_CHANNEL_MINUS                 2202
  242. #define DO_CRTV_MACH_STOP                          2203
  243. #define DO_CRTV_MACH_PLAY_INTRO_VIDEO              2204
  244. #define DO_CRTV_MACH_FIRST_INTRO_PLAY              2205
  245.  
  246. /////////////////////////////////////////////////////////////////////////////
  247. //   Concept screen messages - range:               2300 - 2399                                                
  248.  
  249. #define DO_CONCEPT_START                            2300
  250. #define DO_CONCEPT_RESET                            2301
  251. #define DO_CONCEPT_RESTART                            2302
  252.  
  253. // Resource IDs For License Screen
  254. #define IDD_ACCEPT                                    2400
  255. #define IDD_DECLINE                                    2401
  256. #define IDD_LICENSE_EDIT                            2402